package com.sanri.buildingblock.exportcenter.controller;

import com.sanri.buildingblock.exportcenter.dao.TaskInstanceDao;
import com.sanri.buildingblock.exportcenter.enums.TaskStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: huangzhengri
 * @time: 2023-04-17 10:26
 */
@RestController
@RequestMapping("/runtime")
public class RuntimeController {
    @Autowired
    private TaskInstanceDao taskInstanceDao;

    @PostMapping("/startInstance")
    public void startInstance(String uniqueId, TaskStatus taskStatus){

    }
}
